package com.majorty.mb.service;

import com.majorty.mb.controller.response.PaginationResult;
import com.majorty.mb.controller.request.UserRequest;
import com.majorty.mb.dao.entity.UserDO;

/**
 * @author zhangshuai
 * @date 2019-09-21 22:39
 */
public interface UserService {

    /**
     * 获取用户列表
     * @param request
     * @return
     */
    PaginationResult<UserDO> getUserList(UserRequest request);

    /**
     * 根据主键获取用户信息
     * @param id
     * @return
     */
    UserDO selectById(Integer id);


}
